package com.ldf.jrtsp.socket;

/**
 * udp socket
 *
 * @author lidaofu
 * @since 2024/6/20
 **/
public interface IRtspSocket {

    /**
     * 设置远程地址
     * @param remoteHost
     * @param remotePort
     */
    void setRemoteAddress(String remoteHost,int remotePort);

    /**
     * 发送数据
     *
     * @param data
     */
    void send(byte[] data);


     void receiveData();

    /**
     * 关闭
     */
    void close();
}
